﻿using _02_命令.Commands;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace _02_命令.ViewModels
{
    public class MainViewModel
    {
        public MyCommand ShowCommand { get; set; }
        public MainViewModel()
        {
            ShowCommand = new MyCommand(Show);
        }
        public void Show()
        {
            MessageBox.Show("命令执行！");
        }
    }
}
